#ifndef _BEEP_C_
#define _BEEP_C_

#include "include/Beep.h"
#include "include/delay.h"


void Beep_Init()
{
	/**********配置BELL引脚***************************************************************/	
	P05F = P05_BEEP_SETTING;
	BZDIVH	= BZDIV_V>>8;
	BZDIVL	= BZDIV_V;
	BZDUTH 	= BZDUT_V>>8;
	BZDUTL 	= BZDUT_V;
	BZCON = BZD(1)|BZH(1)|BZE(0);	
	
	BZCON ^= (BZH(1) | BZE(1));		
	Delay_ms(100);
	BZCON ^= (BZH(1) | BZE(1));
}



#endif